import layout from 'common/src/views/layout';
import examCreate from 'common/src/views/englishContest/examCreate/examCreate';
import undergraAppList from 'common/src/views/englishContest/undergraAppList/undergraAppList';
import graduateAppList from 'common/src/views/englishContest/graduateAppList/graduateAppList';
import scoreManage from 'common/src/views/englishContest/scoreManage/scoreManage';

const englishContest = {
  path: '/englishContest',
  name: 'englishContest',
  component: layout,
  children: [
    // 创建考试--本科生
    {
      path: '/examCreate',
      name: 'examCreate',
      component: examCreate,
      meta: {
        nokeepalive: true
      }
    },
    // 报名名单--本科生
    {
      path: '/undergraAppList',
      name: 'undergraAppList',
      component: undergraAppList,
      meta: {
        nokeepalive: true
      }
    },
    // 报名名单--研究生
    {
      path: '/graduateAppList',
      name: 'graduateAppList',
      component: graduateAppList,
      meta: {
        nokeepalive: true
      }
    },
    // 成绩管理--本科生+研究生
    {
      path: '/scoreManage',
      name: 'scoreManage',
      component: scoreManage,
      meta: {
        nokeepalive: true
      }
    }
  ]
};
export default englishContest;
